
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <include file='public@head'/>
    <link rel="stylesheet" type="text/css" href="__INDEX__/css/public.css">
    <link rel="stylesheet" type="text/css" href="__INDEX__/css/product.css">
</head>
<body>

<include file='public@header'/>
<include file='public@neiye'/>

<!--container-->
<div class="container">
    <div class="address">
        <span>您所在的位置：</span>
        <a href="/">首页</a>
        <div class="addressBox">
            <a href="">案例中心</a>
        </div>
    </div>
    <include file='public@left'/>

    <ul class="containerRight">
        <!--取得一个分页DataTable-->
        <!--取得一个分页DataTable-->
        <php>
            $where= function($query){
            $query->whereTime('post.create_time','>=',0);
            };
            $page=[
            'list_rows'=>20,
            'next'=>'下一页',
            'prev'=>'上一页'
            ];
        </php>


        <portal:case item="vo" where="$where" order="list_order,post.create_time DESC" page="$page" relation="categories" categoryId="$category.id" returnVarName="articles_data">

            <li class="productItem">
                <a href="/caseDetail/{$vo.id}">
                    <img src="{:cmf_get_image_preview_url($vo.more.thumbnail)}" alt="">
                    <span>{$vo.post_title}</span>
                </a>
            </li>
        </portal:case>


        <div class="page">
            <page/>
        </div>
    </ul>

</div>
<!--container-->

<include file='public@footer'/>
</body>
</html>